//
//  CTShareView.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/5/6.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    CTShareViewTypeDefault = 1,
    CTShareViewTypeFree
}CTShareViewType;

@protocol CTShareViewDelegate;

@interface CTShareView : UIView

//Emoji
@property(nonatomic,assign)NSInteger imageIndex;
@property(nonatomic,strong)NSArray * imageListArray;
@property(nonatomic,assign)id<CTShareViewDelegate>delegate;


-(void)showShareViewOn:(UIView *)view
     withShareViewType:(CTShareViewType)type;


@end

@protocol CTShareViewDelegate <NSObject>

@optional

-(void)viewDidRemoved:(CTShareView *)view;


//分享到微信朋友圈
- (void)shareViewShareToWechatFriends:(CTShareView *) view withImage:(UIImage *)image;
//分享到QQ空间
- (void)shareViewShareToQQSpace:(CTShareView *)view withImage:(UIImage *)image;
//分享到新浪微博
- (void)shareViewShareToSina:(CTShareView *)view withImage:(UIImage *)image;
//分享到微信
- (void)shareViewShareToWeChat:(CTShareView *)view withImage:(UIImage *)image;
//分享到QQ
- (void)shareViewShareToQQ:(CTShareView *)view withImage:(UIImage *)image;
//分享到更多
- (void)shareViewShareToMore:(CTShareView *)view withImage:(UIImage *)image;
//保存到本地
- (void)shareViewShareToSave:(CTShareView *)view withImage:(UIImage *)image;
//短信分享
- (void)shareViewShareToMessage:(CTShareView *)view withImage:(UIImage *)image;
//添加到收藏
- (void)shareViewShareToCollcation:(CTShareView *)view withImage:(UIImage *)image;
//发布
- (void)shareViewSharePicoPico:(CTShareView *)view;
@end
